﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;
using JinfuyuanProject.Entity.ViewModels;
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson;

namespace JinfuyuanProject.Entity.Models
{
    public class MParturient
    {



        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [BsonId]
        public ObjectId Id { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        public string ParturientName { get; set; }
        [NotMapped()]
        public string ParturientUpdateName { get; set; }
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        public int? ParturientAge { get; set; }

            /// <summary>
            /// 备  注:
            /// 默认值:
            ///</summary>
            public string ParturientPhone { get; set; }

            /// <summary>
            /// 备  注:
            /// 默认值:
            ///</summary>
            public string Address { get; set; }
        public string Salesman { get; set; }
        public string SalesmanNumbers { get; set; }
        [BsonDateTimeOptions(Kind = DateTimeKind.Local)]
        public DateTime? BirthTime { get; set; }
        [BsonDateTimeOptions(Kind = DateTimeKind.Local)]
        public DateTime? EntryTime { get; set; }
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        //public string CardId { get; set; }

            /// <summary>
            /// 备  注:
            /// 默认值:
            ///</summary>
            //public decimal? Deposit { get; set; }

            /// <summary>
            /// 备  注:
            /// 默认值:
            ///</summary>
            public string Degree { get; set; }

            /// <summary>
            /// 备  注:
            /// 默认值:
            ///</summary>
            public string EmergencyContacts { get; set; }

            /// <summary>
            /// 备  注:
            /// 默认值:
            ///</summary>
            public string EmergencyContactsPhone { get; set; }

            /// <summary>
            /// 备  注:
            /// 默认值:
            ///</summary>
            public string PerinatalHospitals { get; set; }
        public string WeightDetail { get; set; }
        public int? Weight { get; set; }
        // public List<Weight> Weights { get; set; }
        public List<Revisit> Revisits { get; set; }
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        //public int? HomeId { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        //public int? PackageId { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        //public int? Salesman { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        //public int? Reception { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        public int? IsDelete { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [BsonDateTimeOptions(Kind = DateTimeKind.Local)]
        public DateTime? CreateTime { get; set; }


        
    }
}
